﻿using Microsoft.Synchronization.Data;

namespace Cesave.Application.Permisos.SynchronizationService
{
	/// <summary>
	/// 
	/// </summary>
	public partial class PermisosCacheSyncAgent
	{
		/// <summary>
		/// 
		/// </summary>
		partial void OnInitialized()
		{
			//Ciclos.SyncDirection = SyncDirection.Bidirectional;
			//Distritos.SyncDirection = SyncDirection.Bidirectional;
			//DistritosPersonal.SyncDirection = SyncDirection.Bidirectional;
			//Estados.SyncDirection = SyncDirection.Bidirectional;
			//Municipios.SyncDirection = SyncDirection.Bidirectional;
			//Juntas.SyncDirection = SyncDirection.Bidirectional;
			//Acl.SyncDirection = SyncDirection.Bidirectional;
			//Agentes.SyncDirection = SyncDirection.Bidirectional;
			//Areas.SyncDirection = SyncDirection.Bidirectional;
			//Acreditaciones.SyncDirection = SyncDirection.Bidirectional;
			//Afianzadoras.SyncDirection = SyncDirection.Bidirectional;
			//Concesiones.SyncDirection = SyncDirection.Bidirectional;
			//Comercializadoras.SyncDirection = SyncDirection.Bidirectional;
			foreach (var table in Configuration.SyncTables)
			{
				table.SyncDirection = SyncDirection.Bidirectional;
			}
		}
	}
}
